]> dgit.raspbian.org Git - gnome-shell.git/commit
Use /proc/self/cmdline on Solaris as well in shell_global_reexec_self()
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 24 Sep 2016 18:06:00 +0000 (11:06 -0700)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 10 Feb 2017 10:22:30 +0000 (11:22 +0100)
commitddfdfaed785e9ef4291a2bd921009a79191ff760
tree99637b6f1d98b232d46ffe3adb0d54732736a2a1
parenta870a4d6de093e469d50dcbba81c4636f053c481
Use /proc/self/cmdline on Solaris as well in shell_global_reexec_self()

Solaris 11.3.5 and later have a Linux-compatible implementation of
/proc/self/cmdline, so the code to use it can be enabled in gnome-shell
on Solaris - if used on an older OS, it simply fails to open the file
and returns without doing anything, just as the code did before enabling
this.

https://bugzilla.gnome.org/show_bug.cgi?id=776199

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
src/shell-global.c